import routerObj from './routesImport'
import { visualDataGrandson, usersGrandson, readBookGrandson } from './routerGrandson'

// 可视化
export const visualDataChild = [
  {
    path: '/visualData',
    name: 'visualData',
    component: routerObj['visualData'],
    children: [
      ...visualDataGrandson
    ]
  }
]

// 用户管理
export const userChildren = [
  {
    path: '/users',
    name: 'users',
    component: routerObj['UserManage'],
    children: [
      ...usersGrandson
    ]
  }
]

// 阅读记录
export const readBookChildren = [
  {
    path: '/readBook',
    name: 'readBook',
    component: routerObj['ReadBook'],
    children: [
      ...readBookGrandson
    ]
  }
]
